package beanstao.util.threads;

public interface IPauseThread
{

	/**
	 * Calling this method will cancel the work the thread is doing.
	 */
	public abstract void cancelWork();

	/**
	 * Calling this method will pause the work the thread is doing.
	 */
	public abstract void pauseWork();

	/**
	 * Calling this method will resume the work the thread is doing, if and only if the thread is currently paused.
	 */
	public abstract void resumeWork();
}
